<template>
  <a-config-provider :locale="locale">
    <router-view />
  </a-config-provider>
</template>

<script>
  import zhCN from 'ant-design-vue/es/locale/zh_CN';
  import moment from 'moment';
  import momentCN from './utils/language.js'
  moment.locale('zh-cn',momentCN);
  export default {
    data() {
      return {
        locale: zhCN,
      };
    },
  };
</script>